Developer Docs
Overview FAQ Getting Started
Learn
Concepts Architecture Touch Pieces Hardware
Guides
Touch Piece Interaction Design Profile Switcher Player Management Pause Menu Save Games Avatars App Lifecycle
Tools
Board Connect bdb
Unity v3.3.0
Quick Start Setup Reference Build & Deploy Upgrading the SDK Sample SDK Architecture API Reference Performance Simulator Changelog AI Assistant
Godot v1.0.0-beta.1
Quick Start Setup Reference Build & Deploy Upgrading the SDK Sample SDK Architecture API Reference Performance Off-Device Development Changelog AI Assistant
Web v1.0.0-beta.1
Quick Start Setup Reference Build & Deploy Upgrading the SDK Sample SDK Architecture API Reference Changelog AI Assistant
More
Support License

Namespaces

  • Core
  • Input
  • Save
  • Session

Board

Board.Save.ImageProcessor

ImageProcessor.LoadTextureFromPNG(byte[]) Method

Converts a byte array containing PNG image data to a Texture2D.

public static Texture2D LoadTextureFromPNG(byte[] pngBytes);

Parameters

pngBytes System.Byte[]

The PNG image data as bytes.

Returns

UnityEngine.Texture2D
A UnityEngine.Texture2D containing the loaded image if successful; otherwise null.

© 2026 Harris Hill Products Inc